/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "整车成本数据表",TableName = "yjy_whole_cost")]
    public partial class yjy_whole_cost:BaseEntity
    {
        /// <summary>
       ///整车成本构成id
       /// </summary>
       [Key]
       [Display(Name ="整车成本构成id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid yjy_whole_cost_id { get; set; }

       /// <summary>
       ///公司类型
       /// </summary>
       [Display(Name ="公司类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? type { get; set; }

       /// <summary>
       ///车辆类型
       /// </summary>
       [Display(Name ="车辆类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? car_type { get; set; }

       /// <summary>
       ///整车物料号
       /// </summary>
       [Display(Name ="整车物料号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string materialnum { get; set; }

       /// <summary>
       ///整车车型型号
       /// </summary>
       [Display(Name ="整车车型型号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string materialnum_name { get; set; }

       /// <summary>
       ///模板层级对应唯一值
       /// </summary>
       [Display(Name ="模板层级对应唯一值")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string unique_value { get; set; }

       /// <summary>
       ///层级关系描述
       /// </summary>
       [Display(Name ="层级关系描述")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string hierarchy_describe { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string describe { get; set; }

       /// <summary>
       ///一级物料号
       /// </summary>
       [Display(Name ="一级物料号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string componentnum { get; set; }

       /// <summary>
       ///一级物料号名称
       /// </summary>
       [Display(Name ="一级物料号名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string componentnum_name { get; set; }

       /// <summary>
       ///金额
       /// </summary>
       [Display(Name ="金额")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? amount { get; set; }

       /// <summary>
       ///创建人名称
       /// </summary>
       [Display(Name ="创建人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人名称
       /// </summary>
       [Display(Name ="修改人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       
    }
}